package com.hualan.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PsycKnowledge {
    //id,title,description,list_view,detaile,time,psyc_counselor_id,del
    private Integer id;
    private String title;
    private String description;
    private String listView;
    private String detaile;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;
    private Integer psycCounselorId;
    private Integer del;
    private Counselor counselor;
}